from typing import Any, BinaryIO, Union

def save(obj, f: Union[str, BinaryIO]) -> None: ...

def load(f: Union[str, BinaryIO], map_location) -> Any: ...
